export default {
  setArr(state,arr){
    state.arr = arr
  },
  addNum (state,n) {
    state.num+=n
  },
  reduceNum (state,n) {
    state.num-=n
  }
}